[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
STRMAXLEN
. Summary
strmaxlen(str <s>);
. Description
The strmaxlen function returns the maximum number of characters that
string <s> can hold. This is the same value as used when the string
is defined elsewhere in the program (e.g. if the string was defined
as 'str hello[16];', a value of 16 would be returned). All strings
are really one character larger than defined, as the last character
is always a terminating 0 (NULL). However, since this value can not
be changed, it is not counted as part of the length of a string.
. Return Value
An integer value as described above.
See Also:
strlen
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson